package net.huashitong.user.service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;
import net.huashitong.user.dao.MessageRemindingDao;
import net.huashitong.user.entity.MessageReminding;
import net.huashitong.user.filter.MessageRemindingFilter;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 消息
 * Created by hyp1202 on 2018/7/4.
 */
@Service
public class MessageRemindingService extends StringPKService<MessageReminding>{
    public MessageRemindingDao messageRemindingDao;
    @Override
    protected BaseDao<MessageReminding, String> getDao() {
        return messageRemindingDao;
    }

    /**
     * 查询
     * @param filter
     * @return
     */
    public List<MessageReminding> getMessageInfo(MessageRemindingFilter filter){
        return messageRemindingDao.getMessageInfo(filter);
    }
}
